package com.hnevc.yinqi;

import java.util.Scanner;

public class Work13 {
    public static void main(String[] args) {
            Scanner sr=new Scanner(System.in);
            System.out.println("输入圆半径");
            double r=sr.nextDouble();
            System.out.println("球的表面积为："+4*3.14*r*r);
            System.out.println("球的体积为："+4*(3.14*r*r*r)/3);

    }
}

